﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using Micronet.OpenWeb.Com.Controls;
using Micronet.OpenWeb.Entity;
using Telerik.Web.UI;

namespace Micronet.OpenWeb.OpenWeb.Admin.Views.Shared.Blog
{
    public partial class BlogArticleFollowsAdmin : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void OwBlogArticlesFollowsGrid_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
        {
            
        }

        protected void UserNameCbb_Init(object sender, EventArgs e)
        {
            OwComboBox UserNameCbb = sender as OwComboBox;
            MembershipUserCollection users = Membership.GetAllUsers();
            foreach (MembershipUser user in users)
            {
                UserNameCbb.Items.Add(new RadComboBoxItem(user.UserName, user.ProviderUserKey.ToString()));
            }
            UserNameCbb.DataBind();
        }
    }
}